package com.zsr.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsr.example.entity.StatisticsDaily;

/**
 * <p>
 * 网站统计日数据 Mapper 接口
 * </p>
 *
 * @author zsr
 * @since 2021-12-22
 */
public interface StatisticsDailyMapper extends BaseMapper<StatisticsDaily> {

    /**
     * 获取今日新增课程数
     * @return
     */
    int getTodayCourseCount();

    /**
     * 获取全部课程数
     * @return
     */
    int getAllCourseCount();
}
